{template header}
    <div class="main">
		<div class="login">
        <form action="{U('User/Index/checkpwd')}" method="post" class="repwdform" name="repwdform" >
        	<ul>
                 <li><p> 请输入二级密码</p>
                </li>
                <li><input type="password" placeholder="请输入二级密码" class="input_3" name="pinpass" id="pinpass" datatype="*" errormsg="请输入二级密码！" nullmsg='请输入二级密码' />
                </li>
                
            </ul>
            <div class="mar15">
            	<input type="button" id="btn_sub" onclick="dosubmit();" value="确认二级密码" class="btnBlue" />                
			</div>
			</form>
        </div>
    </div>
<style type="text/css">

.app_footer{position: absolute;}
</style>
    <script type="text/javascript">
function dosubmit() {
    if ($('#pinpass').val() == "") {
        alert('请输入您的二级密码');
        return false;
    }
     $.post("{U('user/index/checkpwd')}",{
        pinpass:$('input[name="pinpass"]').val()
    },function(data) {
        if (data.status==1) {
            hd_alert(data.info);
            window.location.href = data.url;
        } else {
            hd_alert(data.info);
        }
    },'JSON');
    $("form[name=repwdform]").submit();
}
setTitle('请输入二级密码');
</script>
{template footer}
